feat: nobios mode, exercise docs & test cases, CI testing#10
Merged
Conversation
…eck_ch5.sh, simplify initproc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces several major enhancements, including nobios mode support, exercises with documentation and test cases, and CI testing.
1. Nobios Mode Support
Enable the kernel to boot directly from QEMU's
-bios nonemode without an external SBI implementation.Created a new
sbicrate to replace thesbi-rtdependency.Usage
2. Exercise Documentation and Test Cases
Implemented five basic experiments (ch3-ch6, ch8) following the rCore-Tutorial-Guide, with documentation and test cases.
Documentation is provided in
exercise.mdfor each chapter, and test cases are adapted from rCore-Tutorial-Test.Usage
# Run exercise cargo qemu --ch x --exercise3. CI Support
Merged CI #1 to support CI testing and eliminate compilation warnings.
Added the
--ciparameter to separate CI testing from local testing modes:chX_usertestuser_shellfor manual test case input (convenient for local debugging)Usage
# Run CI test cargo qemu --ch x --exercise --ci